/**
 * Created by Jack Xue on 20101201
 */
package org.code.jack.jweberp.dao;

import java.io.Serializable;

import org.springframework.orm.jpa.support.JpaDaoSupport;

@SuppressWarnings("unchecked")
public class JpaPOLoadDaoImpl extends JpaDaoSupport implements IPOLoadDao {

	@SuppressWarnings("rawtypes")
	@Override
	public Object getEntity( Class entityClass, Serializable id) {
		return getJpaTemplate().find(entityClass, id);
	}

}
